package com.zmj.entity;

import java.util.Date;

public class Log {
    private Integer id;
    private String ipPath;
    private String ipUrl;
    private String description;
    private String classAndMethod;
    private String datas;
    private String remark;
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIpPath() {
        return ipPath;
    }

    public void setIpPath(String ipPath) {
        this.ipPath = ipPath;
    }

    public String getIpUrl() {
        return ipUrl;
    }

    public void setIpUrl(String ipUrl) {
        this.ipUrl = ipUrl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getClassAndMethod() {
        return classAndMethod;
    }

    public void setClassAndMethod(String classAndMethod) {
        this.classAndMethod = classAndMethod;
    }

    public String getDatas() {
        return datas;
    }

    public void setDatas(String datas) {
        this.datas = datas;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"id\":")
                .append(id);
        sb.append(",\"ipPath\":\"")
                .append(ipPath).append('\"');
        sb.append(",\"ipUrl\":\"")
                .append(ipUrl).append('\"');
        sb.append(",\"description\":\"")
                .append(description).append('\"');
        sb.append(",\"classAndMethod\":\"")
                .append(classAndMethod).append('\"');
        sb.append(",\"datas\":\"")
                .append(datas).append('\"');
        sb.append(",\"remark\":\"")
                .append(remark).append('\"');
        sb.append(",\"updateTime\":\"")
                .append(updateTime).append('\"');
        sb.append('}');
        return sb.toString();
    }

    public void info(String classname) {
    }
}
